class AddReviewTypeToReview < ActiveRecord::Migration
  def up
  	change_table :reviews do |t|
  		t.references :review_type
  	end
  	add_index :reviews, :review_type_id
  end
  
  def down
  	remove_column :reviews, :review_type
  	remove_index :reviews, :review_type_id
  end
end
